package com.xie.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xie.common.utils.PageUtils;
import com.xie.gulimall.product.entity.SkuInfoEntity;
import com.xie.gulimall.product.entity.SpuInfoDescEntity;
import com.xie.gulimall.product.entity.SpuInfoEntity;
import com.xie.gulimall.product.vo.SpuSaveVo;

import java.util.List;
import java.util.Map;

/**
 * spu信息
 *
 * @author xiefeixiang
 * @email xiefeixiango@163.com
 * @date 2020-04-05 17:07:11
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    /**
     * 商品商家
     * @param spuId
     */
    void spuUp(Long spuId);

}

